#pragma once
#include <sstream>

class Task
{
private:
	static ID freeID;
public:
	ID id;
	ID target;

	Time timeOfBirth;
	Time timeInBuffer;
	Time timeWorking;
	Time timeWaiting;

	void incBuffer(){ timeInBuffer++; };
	void incWorking(){ timeWorking++; };
	void incWaiting(){ timeWaiting++; };

	Task(Time timeOfBirth);
	~Task(void);

	string toString();
	void Log();
};

